package com.wxj.bank.storage.service;

import com.wxj.bank.module.page.PageBean;
import com.wxj.bank.storage.model.Category;

import java.util.Collection;
import java.util.List;

public interface ICategoryService {

    /* 增 */

    Category save(Category category);

    void save(List<Category> categories);

    /* 删除 */

    void remove(String id);

    /* 修改 */

    Category update(Category category);

    /* 查 */
    Category find(String id);

    List<Category> find(Category category);

    PageBean<Category> find(Category category,PageBean<Category> page);
}
